import { calc } from 'a-calc'

export default function (str: string): number {
    return parseFloat(calc(str))
}
